//
//  CertificationStatesModel.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/6/23.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit
import ObjectMapper
class CertificationStatesModel: BaseModel, Mappable {
    var country : String = ""
    var identityPictureOne : String = ""
    var identityPictureTwo : String = ""
    var primaryAuth : Bool = false
    var seniorAuth : Int = 0
    var userName : String = ""
    var credentialsCode:String = ""
    
    required init?(map: Map){}
    override init(){
        super.init()
    }
    
    func mapping(map: Map)
    {
        country <- map["country"]
        identityPictureOne <- map["identityPictureOne"]
        identityPictureTwo <- map["identityPictureTwo"]
        primaryAuth <- map["primaryAuth"]
        seniorAuth <- map["seniorAuth"]
        userName <- map["userName"]
        credentialsCode <- map["credentialsCode"]
    }
}
